README for replication files
################################################################
ARTICLE: "Empowered Minipublics for Democratic Renewal? Evidence from Three Conjoint Experiments in the United States, Ireland and Finland"
AUTHORS: Saskia Goldberg, Marina Lindell & André Bächtiger
################################################################
Replication code and data needed to reproduce results presented in the main manuscript and the supplemental information in the dataverse provided for the study. 

NOTE: 
	- The folder includes three script files, five data files, and two text files. For further information see specifications below.
	- Set working directory to the folder containing replication files and data before running the scripts.
	- The script entitled "Script_APSR_main_final_edit.R" needs to be ran before running the remaining scripts.      

If you encounter any issues or questions regarding this replication file please contact Saskia Goldberg, Marina Lindell or André Bächtiger; current contact info: saskia.goldberg@kuleuven.be, marina.lindell@abo.fi, andre.baechtiger@sowi.uni-stuttgart.de


################################################################
SOFTWARE VERSION, PLATFORM & CONFIGURATIONS:

All analyses were run using R version 4.3.1 

Windows 11 home, version 23H2
Intel(R) Core(TM) i5-1035G1
8G RAM, x64-baesd processor


################################################################
FILE LIST:

A) Scripts:
Script_APSR_main_final_edit.R: 			the R script that that produces all the tables and figures in the main text
Script_APSR_appendix_online_final_edit.R: 	the R script that produces all the tables and figures in the supplementary material online appendix (see file "Supplementary_online-appendix_240608.docx")
Script_APSR_appendix_dataverse_final_edit.R: 	the R script that produces all the tables and figures in the supplementary material in the dataverse (see file "Supplementary_Dataverse.docx ")

B) Data:
conjointdata_long_combined.sav:			data file needed to reproduces the results. It includes all conjoint variables for all three countries. Use this data file to run the script "Script_APSR_main_final_edit.R"
conjointdata_long_FIN_select.sav:		data file for the Finnish sample including all conjoint variables and relevant covariates such as trust and experience. Use this data file to run the script "Script_APSR_main_final_edit.R" 						(see row 145 in the script) 
conjointdata_long_IRE_select.sav: 		data file for the Irish sample including all conjoint variables and relevant covariates such as trust and experience. Use this data file to run the script "Script_APSR_main_final_edit.R" 						(see row 146 in the script)
conjointdata_long_USA_select.sav: 		data file for the US sample including all conjoint variables and relevant covariates such as trust and experience. Use this data file to run the script "Script_APSR_main_final_edit.R" 
						(see row 147 in the script)
socio_Fin.sav:					data file for the Finnish sample including variables on age, gender and education to reproduce Table B.1 in the supplementary material online appendix. Use this data file to run the script 						"Script_APSR_appendix_online_final_edit.R" (see row 73 in the script)

C) Text files:
Supplementary_online-appendix_240608.docx: 	Supplementary material in the online appendix including the following information:
						A) Appendix A: Information on the conjoint experiment
						B) Appendix B: Population, measurements, and descriptive information
						C) Appendix C: Full tables of the results upon the figures in the manuscript are based

Supplementary_Dataverse.docx:				Supplementary material in the dataverse including the following information:
						D) Appendix D: Additional analyses
						E) Appendix E: Further robustness and attention checks

################################################################
HOW TO REPLICATE TABLES & FIGURES:

A) Main text: use script "Script_APSR_main_final_edit.R"
Figure 1: 		row 45
Figure 2: 		row 111
Table 2: 		row 339
Figure 3: 		row 264
Table 3:		row 491
Figure 4a + 4b: 	row 362
Figure 5:		row 517


B) Supplementary material in the online appendix: use script "Script_APSR_appendix_online_final_edit.R"
Table B.1:		row 60
Table B.4:		row 132
Table B.5:		row 145
Table B.6-Table B.9:	row 192-289
Table B.10:		row 293
Table B.11:		row 342
Table B.12:		row 379

Table C1-Table C.5: 	row 9-53


C) Supplementary material in the dataverse: use script "Script_APSR_appendix_dataverse_final_edit.R"
Table D.1-Table D.4:	row 11-219 
Figure D.1-Figure D.3:	row 11-219
Figure D.4-Figure D.5:	row 225-292
Table D.5-Table D.6:	row 225-292
Figure D.6-Figure D.7:	row 296-369
Table D.7-Table D.8:	row 296-369
Figure D.8-Figure D.9:	row 374-473
Table D.9-Table D.10:	row 374-473
Figure D.10-Figure D.11:row 477-615
Table D.11-Table D.12:	row 477-615
Figure D.12-Figure D.13	row 620-720
Table D.13-Table D.14:	row 620-720
Figure D.14-Figure D.15:row 724-864
Table D.15-Table D.16:	row 724-864
Figure D.16-Figure D.17:row 869-969
Table D.17-Table D.18:	row 869-969
Figure D.18-Figure D.19:row 973-1115
Table D.19-Table D.20:	row 973-1115

Figure E.1 & Table E.1:	row 1121-1154
Figure E.2 & Table E.2:	row 1158-1190
Figure E.3 & Table E.3:	row 1194-1245
Figure E.4-Figure E.6:	row 1252-1453
Table E.4-Table E.6:	row 1252-1453
Figure E.7-Figure E.9:	row 1457-1615
Table E.7-Table E.9:	row 1457-1615
Figure E.10-Figure E.12:row 1619-1861
Table E.10-Table E.12:	row 1619-1861
Figure E.13-Figure E.24:row 1871-3882
Table E.13-Table E.24:	row 1871-3882


################################################################
RUN TIME: 

Script_APSR_main_final_edit.R: 56.8 seconds
Script_APSR_appendix_online_final_edit.R: 71.6 seconds
Script_APSR_appendix_dataverse_final_edit.R: 365.3 seconds